<template>
    <div class="common-layout">
        <el-container>
            <el-aside width="auto">
                <LeftGuide></LeftGuide>
            </el-aside>

            <el-container>
                <el-header>
                    <LeftTop>
                    </LeftTop>
                </el-header>
                <el-main>
                    <!-- 路由出口设置 -->
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script setup lang="ts">
import LeftGuide from "./components/LeftGuide.vue";
import LeftTop from "./components/LeftTop.vue";
import { ref } from "vue";
// 引用useStore
import { useStore } from "vuex";


</script>

<style lang="scss" scoped>
.common-layout {
    .el-aside {
        background-color: #545c64;
    }

    .el-header {
        line-height: 70px;

        .el-icon {
            font-size: 20px;
        }
    }

    .el-main {
        background-color: gainsboro;
    }
}
p{
    margin-top: 10px;
    text-align: right;
    margin-right: 30px;
    font-size: 18px;
}
// 高度100%
.el-aside,
.el-container,
.common-layout,
#app,
body,
html {
    height: 100%;
}
</style>